package exception;

public class FinallyDemo {
    public static void main(String[] args) {

        try {
            String len=null;
            len="";
            System.out.println(len.length());
            return;
        }catch (Exception e){
            System.out.println("解决出错");
        }finally {
            System.out.println("必定执行");
        }
        System.out.println("哈哈");

    }
}
